package org.skydiveapplibrary.data;

public enum LogEntryImageType
{
	Diagram("LogEntryDiagramImageType"),
	Photo("LogEntryPhotoImageType");

	private String stringValue;
	
	LogEntryImageType(String stringValue)
	{
		this.stringValue = stringValue;
	}
	
	public String getStringValue()
	{
		return stringValue;
	}
	
	public static LogEntryImageType fromStringValue(String string)
	{
		if (string.equals("LogEntryDiagramImageType"))
			return Diagram;
		else
			return Photo;
	}
}
